﻿namespace EFS.RC.CC.Messages.Communicator.Lync.Context
{
	/// Used for the statuses message list
	public class Questionnaire : EFS.RC.CC.Messages.Message
	{
		// hcd codes
		public class Codes
		{
			public const System.String One = "Srv1";
		}

		/// Public constructor (used especially for deserialization)
		public Questionnaire()
			: base()
		{
		}

		/// Property Code: Get, Set
		public System.String Code { get; set; }


		/// Serialize
		public override void Serialize(EFS.Common.Serialization.XmlWriter xmlWriter)
		{
			// write
			xmlWriter.Write("Code", Code);
		}

		/// Deserialize
		public override void Deserialize(EFS.Common.Serialization.XmlReader xmlReader)
		{
			// read
			Code = xmlReader.Read("Code");
		}

		/// <summary>
		/// ToString
		/// </summary>
		/// <returns></returns>
		public override string ToString()
		{
			return Code;
		}
	}
}